update

open override fun update(user: User): User?

Updates a user in the database.

Return

the updated user entity if the update was successful, otherwise null

Parameters

user

the user entity to be updated